
<include file="Public:head"/>
<div class="main-container" id="main-container">
    <div class="main-container-inner">
        <include file="Public:left" />
        <div class="main-content">
            <div class="breadcrumbs" id="breadcrumbs">
                <ul class="breadcrumb">
                    <li><i class="icon-home home-icon"></i><a href="__APP__/{$Think.MODULE_NAME}">首页</a></li>
                    <li><a href="{:U('Say/lists')}">说说管理</a></li>
                    <li class="active">回复列表</li>
                </ul>
            </div>
            <div class="page-content">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="row">
                            <div class="col-xs-12">
                                <div class="header smaller lighter blue">
                                    <div class="nav-search col-xs-10" id="nav-search">
                                        <form class="form-search" method="get" action="{:U('Say/lists')}">
                                            <div class="search_area">

                                                <input class="form-control search-query" type="text" name="keyword" autocomplete="off"  placeholder="请输入说说名称" value="{$Think.get.keyword}">
                                                <button class="btn btn-purple btn-sm" type="submit">搜 索 <i class="icon_search icon-on-right bigger-110"></i></button>
                                            </div>
                                        </form>
                                    </div>
                                    <div class='cl'></div>
                                </div>
                                {$detail.content}
                                <notempty name='lists'>
                                    <div class="table-responsive">
                                        <table id="sample-table-1" class="table table-striped table-bordered table-hover">
                                            <tbody>
                                                <tr>
                                                    <th width="40px">序号</th>
                                                    <th width="90px">用户</th>
                                                    <th>内容</th>
                                                    <th width="130px">发布时间</th>
                                                    <th style="width:60px;">操作</th>
                                                </tr>
                                            <notempty  name="lists">

                                                <foreach name="lists" key="key" item="row">
                                                    <tr id="del_{$row.id}">
                                                        <td style="text-align: center">{$key+1|getPageKey}</td>
                                                        <td><a href="{:U('User/detail',array('id'=>$row['uid']))}">{$row.uid|getSingleField=###,'user','name'}</a></td>
                                                        <td style="text-align: left">{$row.content}</td>
                                                        <td style="text-align: center">{$row.addtime|date="Y-m-d H:i",###}</td>
                                                        <td style="text-align: center">
                                                            <a onclick="moreDel('say', '{$row.id}')">删除</a>
                                                        </td>
                                                    </tr>
                                                </foreach>
                                                <else/>
                                                <tr>
                                                    <td colspan="5" style="text-align: center">没有找到相关数据。</td>
                                                </tr>

                                            </notempty>
                                            </tbody>
                                        </table>
                                    </div>

                                    <else/>
                                    <p class='noempty'>没有符合条件的记录！</p>
                                </notempty>
                            </div> <a class="searchbutton"  onclick="history.go(-1)">返 回</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <include file="Public:setting" />
    </div>
</div>
<include file="Public:del" />
<include file="Public:state" />
<include file="Public:foot" />
